package com.example.cloud.dao.business.medical;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wangtao on 2018/5/17.
 */
@Repository
public interface SkinTypeRepository extends JpaRepository<SkinType, Long> {
    List<SkinType> findByPatientIdAndDeleteFlagOrderByCreationTimeDesc(Long patientId, int deleteFlag);
}
